<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="x-ua-compatible" content="ie=7" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="<%=path%>/css/main.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/dialog.css" rel="stylesheet" type="text/css" />
		<script language="javascript" type="text/javascript" src="<%=path%>/js/include.js"></script>
		<script language="javascript" type="text/javascript" src="<%=path%>/js/dialog.js"></script>
		<script language="javascript" type="text/javascript">
			function upstatus(pkMessage){
				var url="<%=path%>/infopub/readMessage?pkMessage="+pkMessage;
				location.href = url;
			}
		</script>
	</head>
	<body class="fullbody">
		<div class="context">

			<div class="position">
				<div class="tposi">
					当前位置：
					<a href="<%=path%>/infopub/pubmain" class="linkstyle">首页</a>&nbsp;&gt;&gt;&nbsp;
					<span class="curposition">待办事项</span>
				</div>
			</div>
			<div class="margin5">
			</div>
			<div class="worklist">
				<div class="wltitle">
					<div class="titlepos">
						<img src="<%=path%>/images/main/icon0.gif" alt="" />
						&nbsp;
						<a href="<%=path%>/infopub/moreWaitingInfo">待办事项(${workListSize})</a>
					</div>
				</div>
				<div class="wlcontent">
					<c:if test="${workList!=null}">
						<c:forEach items="${workList}" var="work">
							<div class="article">
								<a href="<%=path%>/${work.url}" onclick="upstatus('${work.pkMessage}')" class="linkstyle2">${work.sendTime}&nbsp;&nbsp;&nbsp;${work.subject}</a>
							</div>
						</c:forEach>
					</c:if>
				</div>
				<div class="subpage_pager">
					<table cellpadding="0" cellspacing="3" border="0">
						<tr>
							<c:if test="${false == EXPEVAL_PAGEBARINFO.pUpIsUsed}">
								<td class=pageindexn>&lt;上一页</td>
							</c:if>
							<c:if test="${true == EXPEVAL_PAGEBARINFO.pUpIsUsed}">
								<td class=pageindexl
									onclick="document.location.href='<%=path%>/infopub/moreWaitingInfo?pageno=${EXPEVAL_PAGEBARINFO.pUpIndex}';">
									&lt;上一页
								</td>
							</c:if>
							<c:forEach items="${EXPEVAL_PAGEBARINFO.currPageBtnList}" var="pagebtn">
								<c:if
									test="${pagebtn.pageIndex == EXPEVAL_PAGEBARINFO.currPageIndex}">
									<td class="currentpage">${pagebtn.showPageCode}</td>
								</c:if>
								<c:if
									test="${pagebtn.pageIndex != EXPEVAL_PAGEBARINFO.currPageIndex}">
									<td class="pageindex"
										onclick="document.location.href='<%=path%>/infopub/moreWaitingInfo?pageno=${pagebtn.pageIndex}';">
										${pagebtn.showPageCode}
									</td>
								</c:if>
							</c:forEach>
							<c:if test="${false == EXPEVAL_PAGEBARINFO.pDownIsUsed}">
								<td class="pageindexn">下一页&gt;</td>
							</c:if>
							<c:if test="${true == EXPEVAL_PAGEBARINFO.pDownIsUsed}">
								<td class="pageindexl"
									onclick="document.location.href='<%=path%>/infopub/moreWaitingInfo?pageno=${EXPEVAL_PAGEBARINFO.pDownIndex}';">
									下一页&gt;
								</td>
							</c:if>
						</tr>
					</table>
				</div>						
			</div>
			<div class="margin10"></div>
		</div>
	</body>
</html>
